table of contents
lsmd.conf(5) | libStorageMgmt daemon config | lsmd.conf(5) |
NAME¶
lsmd.conf - libStorageMgmt daemon lsmd configuration file.
DESCRIPTION¶
The libStorageMgmt plugin daemon (lsmd) will read the lsmd.conf file in the folder defined via --confdir (default is /etc/lsm/).
The daemon reads the plugin configuration files from the sub-folder pluginconf.d. The plugin configuration file should be named as <uri_scheme>.conf, for example:
* MegaRAID plugin (megaraid://): megaraid.conf
The lsmd.conf file controls the global settings for lsmd while the plugin configuration file for each plugin controls individual plugin behavior.
Each option line of the configuration file should contain a trailing semicolon(;).
lsmd.conf OPTIONS¶
- allow-plugin-root-privilege = true;
-
Indicates whether the lsmd daemon should keep running as root mode and invoke plugin as root user when needed.
Without this option or with option set as false means that the daemon and the plugins will never run as root.
Only when all the following requirements are met, will lsmd run specified plugins as root user:
1. "allow-plugin-root-privilege = true;" in lsmd.conf
2. "require-root-privilege = true;" in plugin config
3. API connection (or lsmcli) has root privileges
Plugin OPTIONS¶
- require-root-privilege = true;
-
Indicates plugin requires root privilege. Without this line or set as false, the plugin will never be invoked as root user by lsmd.
Please check lsmd.conf option allow-plugin-root-privilege for detail.
SEE ALSO¶
lsmd (1)
BUGS¶
Please report bugs to <libstoragemgmt-devel@lists.fedorahosted.org>
AUTHOR¶
Gris Ge <fge@redhat.com>
January 2015 | lsmd.conf 1.8.1 |